package com.longcai.piaojia.util;

/**
 * Created by Administrator on 2016/10/10.
 */
public class ClickUtil {

    private static long lastClickTime;
    public synchronized static boolean isFastClick() {
        long time = System.currentTimeMillis();
        if ( time - lastClickTime < 3000) {
            return true;
        }
        lastClickTime = time;
        return false;
    }

}
